package com.qqt.entity;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

/**
 * 微信消息日志
 * 
 * @author juzhi
 * 
 */
@SuppressWarnings("serial")
@Alias(value = "WechatCustomMessage")
public class WechatCustomMessage implements Serializable {

	// 主键ID
	private String id;
	
	// 服务号
	private String serviceNo;

	// 微信普通用户的openid
	private String openId;

	// 消息内容
	private String messageContent;

	// 消息类型
	private String messageType;
	
	// 发送结果
	private String sendResult;

	// 发送时间
	private Date sendTime;
	
	// 发送状态：0-未发送，1-已发送
	private int sendStatus;
	
	private Date created;
	
	//模板消息
	private String templateMessage;
	
	
	public String getTemplateMessage() {
		return templateMessage;
	}

	public void setTemplateMessage(String templateMessage) {
		this.templateMessage = templateMessage;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getServiceNo() {
		return serviceNo;
	}

	public void setServiceNo(String serviceNo) {
		this.serviceNo = serviceNo;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getMessageContent() {
		return messageContent;
	}

	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}

	public String getMessageType() {
		return messageType;
	}

	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}

	public String getSendResult() {
		return sendResult;
	}

	public void setSendResult(String sendResult) {
		this.sendResult = sendResult;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public int getSendStatus() {
		return sendStatus;
	}

	public void setSendStatus(int sendStatus) {
		this.sendStatus = sendStatus;
	}

}
